<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
    <ui:composition template="/template_login.xhtml">
        <ui:define name="title">
            <h:outputText value="Erro Inesperado"></h:outputText>
        </ui:define>

        <ui:define name="body">
            <h:form id="tableMsgError" >
                <h:panelGroup id="tabela">
                    <table border="0" cellspacing="0" cellpadding="0" style="font-size: 1em; margin: 30px;">
                        <TR>
                            <TD align="center" valign="top">
                                <h:graphicImage name="error.png" library="img" width="32" height="32" style="margin-top: 0px;"/>
                                <p:spacer width="5" height="5"/>
                            </TD>
                            <TD align="left" valign="center">
                                <fieldset><legend>Ops, foi mal, ocorreu um erro inesperado.</legend>
                                        <h:inputTextarea value="#{errorController.stackTrace}" readonly="true" cols="100" rows="20"/>
                                </fieldset>
                            </TD>
                        </TR>
                        <TR><TD><p:spacer width="10" height="10"/></TD></TR>
                    </table>
                </h:panelGroup>
            </h:form>
        </ui:define>
    </ui:composition>

</html>